package org.jeecg.modules.relation.relclassclassroom.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.relation.relclassclassroom.entity.RelClassClassroom;
import org.jeecg.modules.relation.relclassclassroom.mapper.RelClassClassroomMapper;
import org.jeecg.modules.relation.relclassclassroom.service.IRelClassClassroomService;
import org.jeecg.modules.relation.relclassclassroom.vo.RelClassClassroomVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: rel_class_classroom
 * @author: baochangrong
 * @Date: 2022-02-17
 * @Version: V1.0
 */
@Service
public class RelClassClassroomServiceImpl extends ServiceImpl<RelClassClassroomMapper, RelClassClassroom> implements IRelClassClassroomService {

    @Autowired
    RelClassClassroomMapper relClassClassroomMapper;

    @Override
    public IPage<RelClassClassroomVo> queryPageVoList(Page page, RelClassClassroomVo relClassClassroomVo, String tenantId) {
        return page.setRecords(relClassClassroomMapper.queryPageVoList(relClassClassroomVo, tenantId));
    }

}
